1e704a263ad0163f7d8785f93277bf8f5526ab7e,library/src/main/java/mehdi/sakout/aboutpage/AboutPage.java,AboutPage,addGroup,#String#,251
Before Change
TextView textView = new TextView(mContext);
textView.setText(name);
if (Build.VERSION.SDK_INT < 23) {
textView.setTextAppearance(mContext, R.style.about_groupTextAppearance);
} else {
textView.setTextAppearance(R.style.about_groupTextAppearance);
}
After Change
TextView textView = new TextView(mContext);
textView.setText(name);
TextViewCompat.setTextAppearance(textView, R.style.about_groupTextAppearance);
LinearLayout.LayoutParams textParams = new LinearLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT);
if (mCustomFont != null) {